<div class="tab-pane active">
    <div class="box box-info">
        <div class="box-header with-border">
            <div class="box-title">员工信息修改{{title}}</div>
        </div>
        <div class="box-body">
            <form class="form-horizontal" role="form">
                <fieldset>
                    <legend>基础信息</legend>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" >工号</label>
                        <div class="col-sm-4">
                            <input class="form-control" ng-model="UpdateEmp.jobnum" type="text" placeholder="工号"/>
                        </div>
                        <label class="col-sm-2 control-label" >姓名</label>
                        <div class="col-sm-4">
                            <input class="form-control" ng-model="UpdateEmp.name"   type="text" placeholder="姓名"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" >联系方式</label>
                        <div class="col-sm-4">
                            <input class="form-control"  ng-model="UpdateEmp.phone"  type="text" placeholder="联系方式"/>
                        </div>
                        <label class="col-sm-2 control-label" >岗位</label>
                        <div class="col-sm-4">
                            <input class="form-control" ng-model="UpdateEmp.post"  type="text" placeholder="岗位"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" >附件</label>
                        <div class="col-sm-4">
                            <input type="file">
                            <p class="help-block">上传附件</p>
                        </div>
                    </div>
                </fieldset>
                <fieldset>
                    <legend>公司信息</legend>
                    <div class="form-group">
                        <label   class="col-sm-2 control-label">部门</label>
                        <div class="col-sm-4">
                            <select ng-options="d.name for d in departList" ng-change="updateDepart(depart)" ng-model="depart" class="form-control" required >
                                <option value="">请选择部门</option>
                            </select>
                            <!--<select  ng-change="updateDepart(depart)" ng-model="depart" class="form-control" required >-->
                                <!--<option ng-repeat="d in departList" ng-selected="d.name==UpdateEmp.depart.name" value="d.id">{{ d.name }}</option>-->
                            <!--</select>-->
                            </div>

                        </div>
                        <div class="form-group">
                            <label   class="col-sm-2 control-label">状态</label>
                            <div class="col-sm-4">
                                <select  class="form-control" ng-model="UpdateEmp.status">
                                    <option ng-repeat="res in results" value="{{ res.value }}">{{ res.name }}</option>
                                </select>
                                <!--<select ng-model="UpdateEmp.status" class="form-control" required >-->
                                    <!--<option ng-repeat="res in results" ng-selected="res.value==UpdateEmp.status" value="res.value">{{ res.name }}</option>-->
                                <!--</select>-->
                            </div>

                        </div>
                    </fieldset>

                    <fieldset>
                        <legend></legend>
                        <div class="form-group">
                            <label   class="col-sm-2 control-label"></label>
                            <label   class="col-sm-2 control-label"></label>
                            <label   class="col-sm-2 control-label"></label>
                            <label   class="col-sm-2 control-label"></label>
                            <div class="col-sm-4">
                                <button class="btn btn-default" ng-click="update(UpdateEmp,depart)" type="submit">更新</button>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>

